<?php
include_once('common/header.php');
if($AppUI->id <= 0 || (isset($_SESSION['product']) && (($_SESSION['product']&1<<1) == 0))) {
	$this->_redirect(HOST_BACKEND);
}
$strCountry		= isset($_SESSION['manupost']['pcountry']) ? $_SESSION['manupost']['pcountry'] : COUNTRY_DEFAULT;
$intProvince	= isset($_SESSION['manupost']['pprovince']) ? $_SESSION['manupost']['pprovince'] : 0;
$objCommon 		= new PhungTK_Common();
$this->view->arrCountry		= $objCommon->getCountry();
$this->view->arrProvince	= $objCommon->getProvince($strCountry);
$this->view->arrDistrict	= $objCommon->getDistrict($intProvince);
$this->view->strCountry		= $strCountry;
$this->view->intProvince	= $intProvince;
?>